package com.ssy.lingxi.order.model.vo.mobile.response;

import java.math.BigDecimal;

/**
 * 查看业务员个人业绩统计从数据库VO
 *
 * @author 郑小翠
 * @version 2.02.18
 * @date 2022-03-25
 */
public class MobileWechatAppletAchievementCountVO {

    /**
     * 年
     */
    private Integer year;

    /**
     * 业务员Id
     */
    private Long userId;

    /**
     * 采购会员Id
     */
    private Long buyMemberId;

    /**
     * 采购角色Id
     */
    private Long buyMemberRoleId;

    /**
     * 订单Id
     */
    private Long orderId;

    /**
     * 商品Id
     */
    private Long commodityId;

    /**
     * 品类名称
     */
    private String category;

    /**
     * 订单应付金额
     */
    private BigDecimal amountPayable;

    /**
     * 订单已付金额
     */
    private BigDecimal amountPaid;

    /**
     * 售后退款金额
     */
    private BigDecimal refundAmount;

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getBuyMemberId() {
        return buyMemberId;
    }

    public void setBuyMemberId(Long buyMemberId) {
        this.buyMemberId = buyMemberId;
    }

    public Long getBuyMemberRoleId() {
        return buyMemberRoleId;
    }

    public void setBuyMemberRoleId(Long buyMemberRoleId) {
        this.buyMemberRoleId = buyMemberRoleId;
    }

    public Long getOrderId() {
        return orderId;
    }

    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    public Long getCommodityId() {
        return commodityId;
    }

    public void setCommodityId(Long commodityId) {
        this.commodityId = commodityId;
    }

    public String getCategory() {
        return category;
    }

    public void setCategory(String category) {
        this.category = category;
    }

    public BigDecimal getAmountPayable() {
        return amountPayable;
    }

    public void setAmountPayable(BigDecimal amountPayable) {
        this.amountPayable = amountPayable;
    }

    public BigDecimal getAmountPaid() {
        return amountPaid;
    }

    public void setAmountPaid(BigDecimal amountPaid) {
        this.amountPaid = amountPaid;
    }

    public BigDecimal getRefundAmount() {
        return refundAmount;
    }

    public void setRefundAmount(BigDecimal refundAmount) {
        this.refundAmount = refundAmount;
    }

    public Integer getYear() {
        return year;
    }

    public void setYear(Integer year) {
        this.year = year;
    }

    public MobileWechatAppletAchievementCountVO(Integer year,Long userId, Long buyMemberId, Long buyMemberRoleId, Long orderId, Long commodityId, String category, BigDecimal amountPayable, BigDecimal amountPaid, BigDecimal refundAmount) {
        this.year = year;
        this.userId = userId;
        this.buyMemberId = buyMemberId;
        this.buyMemberRoleId = buyMemberRoleId;
        this.orderId = orderId;
        this.commodityId = commodityId;
        this.category = category;
        this.amountPayable = amountPayable;
        this.amountPaid = amountPaid;
        this.refundAmount = refundAmount;
    }

    public MobileWechatAppletAchievementCountVO() {
    }

    @Override
    public String toString() {
        return "MobileWechatAppletAchievementCountVO{" +
                "userId=" + userId +
                ", buyMemberId=" + buyMemberId +
                ", buyMemberRoleId=" + buyMemberRoleId +
                ", orderId=" + orderId +
                ", commodityId=" + commodityId +
                ", category='" + category + '\'' +
                ", amountPayable=" + amountPayable +
                ", amountPaid=" + amountPaid +
                ", refundAmount=" + refundAmount +
                '}';
    }
}
